package training.bms.presentation;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import training.bms.business.Tag;
import training.bms.business.TagController;
import training.bms.business.TagSearchOptions;
import training.framework.business.AbstractEntityController;
import training.framework.presentation.AbstractEditEntity;

@ManagedBean
@SessionScoped
public class EditTag extends
		AbstractEditEntity<Integer, Tag, TagSearchOptions, TagPanel> {

	private TagController controller;
	
	public EditTag() {
		super(TagPanel.class, "editTag", "Tag has beed successfully saved");
		controller = new TagController();
	}

	@Override
	protected AbstractEntityController<Integer, Tag, TagSearchOptions> getController() {
		return this.controller;
	}
}

